Description
Attach the input file to the document given as a parameter. If the xpath points to a blob list then the blob is appended to the list, otherwise the xpath should point to a blob property. If the save parameter is set the document modification will be automatically saved. Return the blob.
Operation id | Blob.AttachOnDocument |
Aliases | Blob.Attach
|
Category | Files |
Label | Attach File |
Requires | |
Since | |
Parameters
Signature
Inputs | bloblist, blob |
Outputs | bloblist, blob |
Implementation Information
JSON Definition
{
"id" : "Blob.AttachOnDocument",
"aliases" : [ "Blob.Attach" ],
"label" : "Attach File",
"category" : "Files",
"requires" : null,
"description" : "Attach the input file to the document given as a parameter. If the xpath points to a blob list then the blob is appended to the list, otherwise the xpath should point to a blob property. If the save parameter is set the document modification will be automatically saved. Return the blob.",
"url" : "Blob.AttachOnDocument",
"signature" : [ "bloblist", "bloblist", "blob", "blob" ],
"params" : [ {
"name" : "document",
"description" : null,
"type" : "document",
"required" : true,
"widget" : null,
"order" : 0,
"values" : [ ]
}, {
"name" : "save",
"description" : null,
"type" : "boolean",
"required" : false,
"widget" : null,
"order" : 0,
"values" : [ "true" ]
}, {
"name" : "xpath",
"description" : null,
"type" : "string",
"required" : false,
"widget" : null,
"order" : 0,
"values" : [ "file:content" ]
} ]
}